package pl.genapp.stocksense.others;

import android.content.Context;
import android.widget.Toast;

public class PostExecuteReaction<RcvType> {

    public void onSuccess(Context context, RcvType object) {
    	Toast.makeText(context, "Success!", Toast.LENGTH_SHORT).show();
    }

    public void onError(Context context, RcvType object) {
    	Toast.makeText(context, "An error has occurred", Toast.LENGTH_SHORT).show();
    }

    public void onOthers(Context context) {
	
    	Toast.makeText(context, "A Communication Problem Occurred", Toast.LENGTH_SHORT).show();
    	
    }

}
